using System;

namespace Match.TimingApplication.Classes
{
    public class TransferLogItem
    {
        private LogType _LogType;
        private String _Message;
        private DateTime _Time;

        public TransferLogItem(String Message, LogType Type)
        {
            _Message = Message;
            _LogType = Type;
            _Time = DateTime.Now;
        }

        public String Message
        {
            get { return _Message; }
            set { _Message = value; }
        }

        public DateTime Time
        {
            get { return _Time; }
            set { _Time = value; }
        }

        public LogType LogType
        {
            get { return _LogType; }
            set { _LogType = value; }
        }
    }

    public enum LogType
    {
        Error,
        Info
    } ;
}